package com.binlog.module;

import lombok.Data;

/**
 * Table colum
 *
 * @description:
 * @author: chenyj
 * @date 2023 -10-13 15:55:05
 */
@Data
public class TableColum {
    /**
     * 第几列
     */
    private int inx;
    /**
     * 列名
     */
    private String colName;
    /**
     * 类型
     */
    private String dataType;
    /**
     * 数据库
     */
    private String schema;
    /**
     * 表名
     */
    private String table;
    /**
     * 索引类型
     */
    private String index;

    public TableColum(String schema, String table, int idx, String colName, String dataType, String index) {
        this.schema = schema;
        this.table = table;
        this.colName = colName;
        this.dataType = dataType;
        this.inx = idx;
        this.index = index;
    }
}
